﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Patient/PatientMaster.Master" AutoEventWireup="true"
 CodeBehind="ViewPatientConsultations.aspx.cs" Inherits="MyHealthOnline.Patient.ViewPatientConsultations" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

View Patient Consults:
<br />

    <asp:Panel ID="pnlConsults" runat="server">

      <asp:GridView ID="grdConsults" runat="server" AutoGenerateColumns="false"
        DataKeyNames="Id" onrowcommand="grdConsults_RowCommand">
            <Columns>
                <asp:BoundField HeaderText="Consult Date" DataField="ConsultDate" SortExpression="ConsultDate" />
                <asp:BoundField HeaderText="Specialist" DataField="SpecialistName" SortExpression="SpecialistName" />
                <asp:BoundField HeaderText="Last Reaction Date" DataField="LatestContact" SortExpression="LatestContact"/>
                <asp:BoundField HeaderText="Status" DataField="Status" />
                <asp:ButtonField ButtonType="Button" Text="Open" CommandName="Open" />
            </Columns>
        </asp:GridView>
    </asp:Panel>

</asp:Content>
